package com.jlkf.service;

import com.jlkf.common.Page;
import com.jlkf.pojo.*;
import com.platform.server.response.response.pojo.ReturnData;

import java.util.Map;

import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

public interface DriverService {

    Map<String,Object> getUserInfo(Long uid);

    Object getUserNotices(Long uid, Page page);

    Object updateUser(User user);

    Object addCard(UserBrank bank);
    
    Object updatecard(UserBrank bank);

    Object getUserCars(Long uid);

    Object carInfo(Long carid);

    Object commentPassenger(StarRemark star);

    Object feedback(SugFeedback feedback);

    Object addCar(DriverAccessory car);

    Object mybill(Long uid, String mark,Integer len);

    Object monthbill(Long id);
    //结算订单详情-P030 月份列表、总收入、提成
    Object billingDetails(String startTime,String endTime,Long driverId,Integer pageNo,Integer pageSize);

    ReturnData setDefaultVehicle(Long driverId,Long carId,Integer language);
    //设置车辆服务类型
    Object carServiceType(Long carId,String serverType,Integer language);
    //未读消息
    Object notRead(Long uId);
}
